home *** CD-ROM | disk | FTP | other *** search
- // slidevw.h : interface of the CSlidetstView class
- //
- /////////////////////////////////////////////////////////////////////////////
-
- class CSlidetstView : public CView
- {
- protected:
- CSlider *pVSlider;
- CSlider *pHSlider;
- CEdit vposWin;
- CEdit hposWin;
-
- protected: // create from serialization only
- CSlidetstView();
- DECLARE_DYNCREATE(CSlidetstView)
-
- // Attributes
- public:
- CSlidetstDoc* GetDocument();
-
- // Operations
- public:
-
- // Implementation
- public:
- virtual ~CSlidetstView();
- virtual void OnDraw(CDC* pDC); // overridden to draw this view
-
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
-
- // Printing support
- protected:
- virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
- virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
- virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
-
- // Generated message map functions
- protected:
- //{{AFX_MSG(CSlidetstView)
- afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
- afx_msg void OnDestroy();
- afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScollBar);
- afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
- afx_msg HBRUSH OnCtlColor(CDC*, CWnd*, UINT);
- afx_msg void OnSethpos();
- afx_msg void OnSethrange();
- afx_msg void OnSetvpos();
- afx_msg void OnSetvrange();
- afx_msg void OnEnablevert();
- afx_msg void OnEnablehorz();
- afx_msg void OnDisablevert();
- afx_msg void OnDisablehorz();
- afx_msg void OnGethrange();
- afx_msg void OnGetvrange();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
-
- #ifndef _DEBUG // debug version in slidevw.cpp
- inline CSlidetstDoc* CSlidetstView::GetDocument()
- { return (CSlidetstDoc*) m_pDocument; }
- #endif
-
- /////////////////////////////////////////////////////////////////////////////
-